package cn.net.yto.school.service;

import cn.net.yto.base.dao.pagination.PaginationRequest;
import cn.net.yto.base.dao.pagination.PaginationResponse;
import cn.net.yto.school.dao.dto.ClazzStudentCountStsDto;
import cn.net.yto.school.dao.entities.TbClazz;

import java.util.List;

public interface ClazzService {

    List<TbClazz> findAllClazz();

    PaginationResponse<TbClazz> findAllClazzByPagination(PaginationRequest paginationRequest);

    void saveClazz(TbClazz tbClazz);

    void deleteClazz(Integer clsId);

    TbClazz findOneByClazzId(Integer clsId);

    Long countClazzes();

    List<ClazzStudentCountStsDto> countClazzStudent();

}
